﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Resources/Master.Master" AutoEventWireup="true" CodeBehind="ViewBooking.aspx.cs" Inherits="Assignment_3.Feature___Booking.ViewBooking" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <article class="module width_full">
        <header>
            <h3>View Individual Booking</h3>
        </header>
        <div class="module_content">
            <table style="display: inline-block">
                <tr>
                    <th colspan="2" style="width: 300px">
                        <div id="module_title"><span>Booking</span></div>
                    </th>
                </tr>
                <tr>
                    <th>Booking ID:</th>
                    <td>
                        <asp:Label ID="lblBookingID" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <th>&nbsp;</th>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <th>Rooms' Status:</th>
                    <td>
                        <asp:Label ID="lblRoomsStatus" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Check-in Date:</th>
                    <td>
                        <asp:Label ID="lblCheckIn" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Check-out Date:</th>
                    <td>
                        <asp:Label ID="lblCheckOut" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>No. of Rooms:</th>
                    <td>
                        <asp:Label ID="lblRooms" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>No. of Adults:</th>
                    <td>
                        <asp:Label ID="lblAdults" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>No. of Children:</th>
                    <td>
                        <asp:Label ID="lblChildren" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Room Type:</th>
                    <td>
                        <asp:Label ID="lblRoomType" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Bed Type:</th>
                    <td>
                        <asp:Label ID="lblBedType" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>

            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

            <table style="display: inline-block">
                <tr>
                    <th colspan="2" style="width: 300px">
                        <div id="module_title"><span>Guest</span></div>
                    </th>
                </tr>
                <tr>
                    <th>Guest Name:</th>
                    <td>
                        <asp:Label ID="lblGuestName" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Phone No.:</th>
                    <td>
                        <asp:Label ID="lblPhoneNo" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Email:</th>
                    <td>
                        <asp:Label ID="lblEmail" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>Address:</th>
                    <td>
                        <asp:Label ID="lblAddress" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <th>Postal Code:</th>
                    <td>
                        <asp:Label ID="lblPostalCode" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <th>Country:</th>
                    <td>
                        <asp:Label ID="lblCountry" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>

            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

            <table style="display: inline-block">
                <tr>
                    <th colspan="2" style="width: 300px">
                        <div id="module_title"><span>Payment</span></div>
                    </th>
                </tr>
                <tr>
                    <th>Payment Type:</th>
                    <td>
                        <asp:Label ID="lblPaymentType" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>
                        <asp:Label ID="lblCardholder" runat="server" Text="Name of Cardholder:" Visible="False"></asp:Label></th>
                    <td>
                        <asp:Label ID="lblCardholderName" runat="server" Visible="false"></asp:Label></td>
                </tr>

                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>
                        <asp:Label ID="lblCreditCard" runat="server" Text="Credit Card Number:" Visible="False"></asp:Label></th>
                    <td>
                        <asp:Label ID="lblCreditCardNo" runat="server" Visible="False"></asp:Label></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>

                <tr>
                    <th>
                        <asp:Label ID="lblExpiration" runat="server" Text="Expiry Date:" Visible="False"></asp:Label></th>
                    <td>
                        <asp:Label ID="lblExpiryDate" runat="server" Visible="False"></asp:Label></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>
        </div>
        <p style="text-align: right; padding-right: 2.5em; padding-bottom: 1em">
            <asp:Button ID="btnUpdate" runat="server" CssClass="btnGreen" Text="Update" OnClick="btnUpdate_Click" />&nbsp;&nbsp;<asp:Button ID="btnBack" runat="server" CssClass="btnGray" Text="Back" OnClick="btnBack_Click" />
        </p>
    </article>
    <!-- end of styles article -->
    <div class="spacer"></div>
</asp:Content>
